import { App } from 'vue';
import UserListDialog from '@/components/user/UserListDialog.vue';
import UserInfoDialog from '@/components/user/UserInfoDialog.vue';
import DLayout from '@/components/DLayout.vue';
import DMenu from '@/components/DMenu.vue';
import ClassListDialog from '@/components/class/ClassListDialog.vue';
import DeptListDialog from '@/components/user/DeptListDialog.vue';

const install = (app: App) => {
  app.component(DeptListDialog.name, DeptListDialog);
  app.component(UserListDialog.name, UserListDialog);
  app.component(UserInfoDialog.name, UserInfoDialog);
  app.component(ClassListDialog.name, ClassListDialog);
  app.component(DLayout.name, DLayout);
  app.component(DMenu.name, DMenu);
};
export default {
  install
};
